home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
video
/
trojka.tgz
/
trojka.tar
/
trojka
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-10-20
|
924b
|
56 lines
#
# @(#) Makefile for TROJKA
# created: 13.iii.1992
# modified: 26.iv.1992 for xenix/68000 and HPUX
# 20.x.1995 for Linux support
#
OBJS= trojka.o screen.o scan.o hiscore.o system.o
make:
@echo please specify: hpux, xenix68, linux or sunos
install:
cp trojka /usr/games
clean:
rm -f $(PROGS) *.o core a.out trojka.scores
trojka: $(OBJS)
# $(CC) $(CFLAGS) $(OBJS) -lcurses -ltermlib -o trojka
$(CC) $(CFLAGS) $(OBJS) -lcurses -o trojka
# patch for HP-UX, need 'codelibs'
trojka_ux: $(OBJS)
$(CC) -DHPUX $(OBJS) -lcurses -ltermlib -lcodelibs -o trojka
#
# dependencies
#
trojka.o: trojka.h sys_custom.h
hiscore.o: hiscore.h sys_custom.h
screen.o: hiscore.h screen.h trojka.h sys_custom.h
scan.o: trojka.h
system.o: trojka.h
#
# several systems
#
xenix68:
make trojka "CFLAGS=-DXENIX68"
sunos:
make trojka "CFLAGS=-DSUNOS"
hpux:
make trojka_ux "CFLAGS=-DHPUX"
linux:
make trojka "CFLAGS=-DLINUX"